package com.eleadmin.common.system.param;

import com.eleadmin.common.core.annotation.QueryField;
import com.eleadmin.common.core.annotation.QueryType;
import com.eleadmin.common.core.web.BaseParam;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 留言表查询参数
 *
 * @author EleAdmin
 * @since 2025-04-28 22:40:00
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "MessageParam对象", description = "留言板查询参数")
public class MessageParam extends BaseParam {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @QueryField(type = QueryType.EQ)
    private Integer id;

    @ApiModelProperty(value = "留言内容")
    private String content;

    @ApiModelProperty(value = "发起人")
    @QueryField(type = QueryType.EQ)
    private Integer userId;

    
}
